package com.sykj.why.mongo.document.entity;

import com.sykj.why.mongo.document.BaseDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author Eleven
 * @date 2019/6/4
 * @desc 内容类型表
 */

@Setter
@Getter
@Document
@ApiModel(value = "内容类型表")
public class ContentCategoryT extends BaseDocument {

    /** 类型名称 */
    @ApiModelProperty(value = "类型名称")
    private String categoryName;

    /** 详情链接模板地址 */
    @ApiModelProperty(value = "详情链接模板地址")
    private String url;

}
